package spring.component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * User  yyl
 * Description: mySpring
 * Created by yaoyonglong on 2018/11/1 15:28
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MyMapper {

    /**
     * 用于表示url，
     */
    public String url() default "";

    /**
     * 表示请求方法
     *
     * @return
     */
    public String method() default "";
}
